export interface UploadImageResult {
  file?: string;
  url: string;
  originalFilename?: string;
  [key: string]: any;
}

export interface SendCodeParams {
  phone: number;
  code: number;
}

export interface SendCodeResult {
  code: number;
}

export interface UpdateProgressParams {
  type: string | number; // 1-五商，2-微学堂
  courseId: string | number; // 课程主表id
  courseTitle?: string | number; // 课程标题
  courseMonth?: string | number; // 课程月份， 当type=1,必须传，type=2不用传
  courseDetailId: string | number; // 课程详情id
  courseDetailTitle: string | number; // 课程详情标题
  progress: number; // 进度
  wisdomType: string | number; // 详情中该字段
}
